package cn.leyaber.hrm.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-10-30
 */
@TableName("user_name")
public class Name extends Model<Name> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    //姓名
    private String name;
    //年龄
    private Integer Age;
    @TableField("id_card")
    //身份证
    private String idCard;
    //电话
    private String Telephone;
    //性别
    private String Gender;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return Age;
    }

    public void setAge(Integer Age) {
        this.Age = Age;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getTelephone() {
        return Telephone;
    }

    public void setTelephone(String Telephone) {
        this.Telephone = Telephone;
    }

    public String getGender() {
        return Gender;
    }

    public void setGender(String Gender) {
        this.Gender = Gender;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Name{" +
        ", id=" + id +
        ", name=" + name +
        ", Age=" + Age +
        ", idCard=" + idCard +
        ", Telephone=" + Telephone +
        ", Gender=" + Gender +
        "}";
    }
}
